*Karen Jusko 
*20170719

* NOTE 	This run file provides the architecture for the cross-state, cross-time analysis of poverty responsiveness reported in
*		the manuscript ``Are we providinging enough to those who have too litte?  Measuring Poverty Relief''.  

*>>> A  PREAMBLE
 
clear
program drop _all
set more off
 

*cd "/Users/kljusko/Dropbox/Papers/Measurement/Data Analysis/20170308_forJuskoWeisshaarReplication/"

log using 20170719_forJuskoWeisshaarReplication.log, replace


#delimit;

set scheme s1mono;

*>>> B  DATA PREP;

use ipums_cps_00012.dta, clear;

set output error;

do 20170511_Data_Prep.do;
save 20161021_Working_hh.dta, replace;



*>>> C  ANALYSIS;

set seed 123456789;

do 20170511_R_by_State.do; 
do 20170511_R_by_Year.do; 

set output inform;



*>>> D  TABLES AND FIGURES;

*>> FIGURE 1: Composition of support;
do 20170511_Composition.do;

*>> FIGURE 2: CA, FL, TX;
do 20170511_CA_FL_TX.do;


*>> FIGURE 3: Baseline Relief and Falloff;
do 20170511_Plot_Parameters.do;


*>> FIGURE 4: Map of R, by State;
do 20170511_Map.do;


*>> TABLE 2: Poverty relief and policy (2010-2014), FIGURE 5: Poverty relief and policy;
set output proc;
do 20170511_TANF_UI.do;


*>> FIGURE 6:  National Time Series;
do 20170511_US_times_series_Figure.do;



*>> FIGURE 7:  Varying Thresholds;  *>>> TABLE 3: Regression Analysis Using Different Poverty Thresholds;

do 20170511_varyingThresholds.do;


*>> APPENDIX B: General Relationship;
do 20170511_State_thumbnails.do;


*>> APPENDIX C: State Level Analysis;
do 20170511_stateParameterTable.do;


*>> APPENDIX D: SIPP Replication;
*do "/Users/kljusko/Dropbox/Papers/Measurement/Data Analysis/SIPP/20161013_SIPP_run.do";


*>> APPENDIX E:  Household Adjustment;
set output error;
do 20170511_R_by_State_EH.do; 



log close;